import request from '@/utils/request'

// 获取维修师
export function listNotice(query) {
  return request({
    url: '/api/worker/getWorker',
    method: 'get',
    params: query
  })
}
// 新增维修师
export function workerInsert(data) {
  return request({
    url: '/api/worker/insert',
    method: 'post',
    data
  })
}
